// 保存对应设备编号
const state = {
    // 设备编号
    tSerialNumber: ''
}
const getters = {

}
// 改变state状态
const mutations = {
    savedevicenumber(state,tsnum){
        state.tSerialNumber = tsnum
        // localStorage.setItem(index,path)
    }
}
const actions = {
    addimagepath(context,tsnum){
        context.commit('savedevicenumber',tsnum)
    }
}


export default {
    state,
    getters,
    mutations,
    actions
}